package com.car.loan.project.xr.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.car.loan.project.xr.domain.Loan;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.car.loan.project.xr.util.bo.business.LoanBaseInfo;
import com.car.loan.project.xr.util.bo.business.LoanDeletePageParam;
import com.car.loan.project.xr.util.bo.business.LoanUrgentPageParam;
import com.car.loan.project.xr.util.bo.business.modify.LoanModifyPageParam;
import com.car.loan.project.xr.util.select.LoanBasePageParam;
import com.car.loan.project.xr.util.vo.SearchDeleteVo;
import com.car.loan.project.xr.util.vo.SearchUrgentVo;
import com.car.loan.project.xr.util.vo.modify.LoanModifyVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 贷款Mapper接口
 *
 * @author ruoyi
 * @date 2019-11-03
 */
@Repository
public interface LoanMapper extends BaseMapper<Loan> {

    Page<LoanBaseInfo> findLoanBasePage(Page page,
        @Param("loanBasePageParam") LoanBasePageParam loanBasePageParam);


    Page<LoanModifyVo> findLoanModifyPage(Page page,
        @Param("loanModifyPageParam") LoanModifyPageParam loanModifyPageParam);

    Page<SearchDeleteVo> findLoanDeletePage(Page page,
        @Param("loanDeletePageParam") LoanDeletePageParam loanDeletePageParam);

    Page<SearchUrgentVo> findLoanUrgentPage(Page page,
        @Param("loanUrgentPageParam") LoanUrgentPageParam loanUrgentPageParam);

}
